fdt: introduce fdtdec_get_child_count
authorPeng Fan <[email protected]>
Mon, 1 Feb 2016 05:31:15 +0000 (13:31 +0800)
committerAnatolij Gustschin <[email protected]>
Sat, 6 Feb 2016 13:43:04 +0000 (14:43 +0100)
commit1889a7e275c82cfa120004595a652e834c3723e1
tree88d8f58ab620d456940dff9dd373bff66e4189c4
parentc4a45d4bdd68a24dd60fc3905649d23f7aec8a80
fdt: introduce fdtdec_get_child_count

Introduce fdtdec_get_child_count for get the number of subnodes
of one parent node.

Signed-off-by: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Acked-by: Simon Glass <[email protected]>
include/fdtdec.h
lib/fdtdec.c